package com.recharge;

/**
 * Created by CAOQI on 2017/2/20.
 */
public enum ExceptionEnum {
    SUB_SUCCESS("0","提交成功"),SIGN_ERROR("1","签名错误"),
    SYS_ERROR("2","系统异常"),ORDER_EXIST("3","订单已存在"),
    ORDER_NOT_EXIST("4","订单不存在");
    private ExceptionEnum(String code,String msg){
        this.code = code;
        this.msg = msg;
    }

    private String code;

    private String msg;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
